Retrospective commit from 2009-09-20.
authorEli Zaretskii <eliz@gnu.org>
Thu, 31 Dec 2009 21:31:54 +0000 (16:31 -0500)
committerEli Zaretskii <eliz@gnu.org>
Thu, 31 Dec 2009 21:31:54 +0000 (16:31 -0500)
commitfb3ded11056b46fda82d95136fc9a9fdb4b71ee5
treeccba9c07b36bbfb6144ad538041ea57f39e4f5e1
parentf5ebe5d6b342c098c2907a26e7b57187ef39fdfb
Retrospective commit from 2009-09-20.

Handle positions at BEGV and ZV.  Mor initialization cleanups.

 xdisp.c (reseat_1): Handle position < BEGV.
 bidi.c (bidi_paragraph_init): Set bidi_it->ch_len.  Handle ZV.
 (bidi_init_it): Don't initialize bidi_it->ch_len.
 (bidi_resolve_explicit_1): Abort if bidi_it->ch_len was not
 initialized.
 (bidi_at_paragraph_end, bidi_resolve_explicit_1)
 (bidi_resolve_weak, bidi_level_of_next_char): Handle bytepos at
 ZV_BYTE.
 (bidi_resolve_explicit_1): Handle position < BEGV.
src/ChangeLog.bidi
src/bidi.c
src/xdisp.c